#pragma once
#include "precompiled.h"
#include "Geometry_Defines.h"
#include "RenderManager.h"
#include "ParticlesCommon.h"

namespace ParticleManager
{

	void Initialize();

	void CreateEmitter( PoolSize size, ParticleBehavior behavior, std::string key );
	void DestroyPools();

	void Update( GLdouble time );

	void RunParticles( std::string key  );
	void UpdateParticles_StartEnd( std::string key, glm::vec3 start, glm::vec3 end  );

	void SubmitParticleTickets();

	extern const float LIFETIME_INFINITE;
};

